feat: Start migration to typescript #18
Draft
Maks1mS wants to merge 68 commits intoquarkly:refactor/ts-migrationfrom
Draft
feat: Start migration to typescript #18Maks1mS wants to merge 68 commits intoquarkly:refactor/ts-migrationfrom
Maks1mS wants to merge 68 commits intoquarkly:refactor/ts-migrationfrom
Conversation
Member
|
Hi, thank you for your contribution. |
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1. - [Release notes](https://github.com/bitinn/node-fetch/releases) - [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md) - [Commits](node-fetch/node-fetch@v2.6.0...v2.6.1) Signed-off-by: dependabot[bot] <support@github.com>
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8. - [Release notes](https://github.com/isaacs/ini/releases) - [Commits](npm/ini@v1.3.5...v1.3.8) Signed-off-by: dependabot[bot] <support@github.com>
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. - [Release notes](https://github.com/yargs/y18n/releases) - [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md) - [Commits](https://github.com/yargs/y18n/commits) Signed-off-by: dependabot[bot] <support@github.com>
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.17.19...4.17.21) Signed-off-by: dependabot[bot] <support@github.com>
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9. - [Release notes](https://github.com/npm/hosted-git-info/releases) - [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md) - [Commits](npm/hosted-git-info@v2.8.8...v2.8.9) Signed-off-by: dependabot[bot] <support@github.com>
feat: props cleaned
…de-fetch-2.6.1 build(deps): bump node-fetch from 2.6.0 to 2.6.1
…i-1.3.8 build(deps): bump ini from 1.3.5 to 1.3.8
…sted-git-info-2.8.9 build(deps): bump hosted-git-info from 2.8.8 to 2.8.9
Bumps [normalize-url](https://github.com/sindresorhus/normalize-url) from 4.5.0 to 4.5.1. - [Release notes](https://github.com/sindresorhus/normalize-url/releases) - [Commits](https://github.com/sindresorhus/normalize-url/commits) --- updated-dependencies: - dependency-name: normalize-url dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
…rmalize-url-4.5.1 build(deps): bump normalize-url from 4.5.0 to 4.5.1
Support for custom validators for forwarding properties.
FEAT: support flag for the skip style property
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. - [Release notes](https://github.com/jbgutierrez/path-parse/releases) - [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7) --- updated-dependencies: - dependency-name: path-parse dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5. - [Release notes](https://github.com/daaku/nodejs-tmpl/releases) - [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5) --- updated-dependencies: - dependency-name: tmpl dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
…th-parse-1.0.7 build(deps): bump path-parse from 1.0.6 to 1.0.7
…pl-1.0.5 build(deps): bump tmpl from 1.0.4 to 1.0.5
feat: list of new props
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduction
I started the migration to Typescript because you have written this in your TODO in README. I changed the main files for working with autocomplete and static types for props.

Changes
rm -rfto rimraf for working from Windows;Also can be removed:
Current known flaws/bugs:
useAliases: false;For example:
to
Some details
I set type for keys of dict object to
keyof CSS.PropertiesHyphenfrom csstype, but some CSS properties were not found (some of this I can't find in MDN!).Also I changed mistype 'outline-width|thin|medium|thick' to 'outline-width'.
For generating valid types of dict(full name and aliases) I create a script, which you can run
$ npm run dictI don’t know if it’s the best way, but I haven’t come up with another solution.
TODO
I am describing this task for all contributors because I do not know if I will do it.
useAliases: falseP.S.
I think that this pull request need be merged into 'feat/typescript' for additional changes instead 'master', but I can't do this, because 'feat/typescript' doesn't exist.